// Package job
// Created by GoLand
// @User: lenora
// @Date: 2024/8/7
// @Time: 16:07

package job

import (
	"context"
)

type Job interface {
	Name() string
	Spec() string
	Run() error
}

type Executor interface {
	Name() string
	Execute(ctx context.Context) error
}
